import java.util.Scanner;

public class InputTest {
    public static void main(String[] args) {
        String [] data = new String[100];
        Scanner in = new Scanner(System.in);
        for(int i=0;i<100;i++){
            if((data[i] = in.nextLine()).equals("end")){
                break;
            }
        }
        for(String a:data){
            if(a.equals("end")){
                break;
            }
            System.out.println(a);
        }
        in.close();
    }
}
